package cuiyt.designpattern.decorator;

/**
 * @author cyt
 * @create 2020-07-20 10:03
 */

/**
 * 顶级的类， 装饰者、被装饰者都需要集成它
 * @author Administrator
 */
public abstract class BaseCoffee {

    public String description;

    public String getDescription() {
        return this.description;
    }

    /**
     * 计算价格
     *
     * @return
     */
    public abstract double cost();
}
